﻿@{
    ViewBag.Title = "FindPassword";
    Layout = "~/Views/Shared/_MainLayout.cshtml";
}
@using MvcMall.Portal.Controllers.Account.ViewModels;
@model UserFindPasswordModel
<link href="@Url.Content("~/Content/loginRegister.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="top_login_nav">
    <div class="top_login_nav_box">
        <ul>
            <li class="top_login_nav_tag">找回密码 </li>
        </ul>
    </div>
</div>
@using (Html.BeginForm())
{
    <table class="register_table" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <th>
                @Html.LabelFor(m => m.UserName)：
            </th>
            <td>
                @Html.TextBoxFor(m => m.UserName, new { @class = "txtInput" })
                @Html.ValidationMessageFor(m => m.UserName)
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.Email)：
            </th>
            <td>
                @Html.TextBoxFor(m => m.Email, new { @class = "txtInput" })
                @Html.ValidationMessageFor(m => m.Email)
            </td>
        </tr>
        <tr>
            <th>
                @Html.LabelFor(m => m.ValidCode)：
            </th>
            <td>
                @Html.TextBoxFor(m => m.ValidCode, new { @class = "txtInput", @style = "width:80px" })
                <img src="/Base/GetValidCode?t=@DateTime.Now" id=checkCode style="float:left" alt="看不清,换一张" onclick="this.src=this.src+'?'" />
                <a href="javascript:{0}" style="float: left" onclick="$('#checkCode').attr('src',$('#checkCode').attr('src')+'?')">
                    看不清,换一张</a>
                @Html.ValidationMessageFor(m => m.ValidCode)
            </td>
        </tr>
        <tr>
            <th>
            </th>
            <td>
                <input type="submit" value="找回密码" />
            </td>
        </tr>
    </table>
}
